package com.zzyl.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class ReservertionTask {

    @Scheduled(cron="0/5 * * * * ?")
    public void updateReservationStatusTask(){
        log.info("更新预约状态~~~~~~~");
    }
}
